package cn.winwintech.Incense.util;

import org.springframework.web.context.ContextLoader;

public class ContextUtil {

	public static String getServerRealPath() {
		return ContextLoader.getCurrentWebApplicationContext().getServletContext().getRealPath("");
	}

	public static String getWebInfoRealPath() {
		return getServerRealPath() + "WEB-INF";
	}

}
